package com.ruoyi.system.domain.honor.studentreseach;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 指导学生科研成果科研项目对象 student_research
 * 
 * @author ruoyi
 * @date 2025-10-11
 */
public class StudentResearch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科研ID */
    private Long id;

    /** 教师id */
    @Excel(name = "教师id")
    private String teacherId;

    /** 教师名称 */
    @Excel(name = "教师名称")
    private String teacherName;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学生类别 */
    @Excel(name = "学生类别")
    private String studentType;

    /** 学号 */
    @Excel(name = "学号")
    private String studentCode;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目类别 */
    @Excel(name = "项目类别")
    private String projectCategory;

    /** 项目经费（万元） */
    @Excel(name = "项目经费", readConverterExp = "万=元")
    private BigDecimal funds;

    /** 立项时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "立项时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date initiationTime;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    private Long deptId;

    private String currentRole;
    /** 团队成员 */
    private List<String> teamMembers;
    /** 团队成员 */
    private List<StudentResearchMember> teamMemberList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }

    public void setStudentType(String studentType) 
    {
        this.studentType = studentType;
    }

    public String getStudentType() 
    {
        return studentType;
    }

    public void setStudentCode(String studentCode) 
    {
        this.studentCode = studentCode;
    }

    public String getStudentCode() 
    {
        return studentCode;
    }

    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    public void setProjectCategory(String projectCategory) 
    {
        this.projectCategory = projectCategory;
    }

    public String getProjectCategory() 
    {
        return projectCategory;
    }

    public void setFunds(BigDecimal funds) 
    {
        this.funds = funds;
    }

    public BigDecimal getFunds() 
    {
        return funds;
    }

    public void setInitiationTime(Date initiationTime) 
    {
        this.initiationTime = initiationTime;
    }

    public Date getInitiationTime() 
    {
        return initiationTime;
    }

    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("studentName", getStudentName())
            .append("studentType", getStudentType())
            .append("studentCode", getStudentCode())
            .append("projectName", getProjectName())
            .append("projectCategory", getProjectCategory())
            .append("funds", getFunds())
            .append("initiationTime", getInitiationTime())
            .append("attachment", getAttachment())
            .toString();
    }

    public List<String> getTeamMembers() {
        return teamMembers;
    }

    public void setTeamMembers(List<String> teamMembers) {
        this.teamMembers = teamMembers;
    }

    public List<StudentResearchMember> getTeamMemberList() {
        return teamMemberList;
    }

    public void setTeamMemberList(List<StudentResearchMember> teamMemberList) {
        this.teamMemberList = teamMemberList;
    }

    public String getCurrentRole() {
        return currentRole;
    }

    public void setCurrentRole(String currentRole) {
        this.currentRole = currentRole;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
}
